package com.shuma.product.utils;

public class RedisConstants {
    public static final String CHACHE_BASEGOODSONE_KEY="cache:basegoodone:";
    public static final String LOCK_BASEGOODSONE_KEY="lock:basegoodone:";
    public static final String LOCK_ADDBASEGOODSONE_KEY="lock:addbasegoodone:";
    public static final String LOCK_UPDATABASEGOODSONE_KEY="lock:updatebasegoodone:";


    public static final Long CHACHE_BASEGOODS_TTL = 30L;
    public static final Long CHACHE_BASEGOODS_TTL_MIN = 5L;
    public static final Long CHACHE_BASEGOODS_TTL_MAX = 60L;
    public static final Long LOCK_BASEGOODS_TTL = 4L;
    public static final Long LOCK_WAITTIME = 2L;
    public static final Long CACHE_NULL_TTL = 3L;


    public static final int EXPECTED_ELEMENTS = 5000;
    public static final double FALSE_POSITIVE_RATE = 0.10;
}
